package com.ibeeking.gmc.global.g.rest.service;

import com.ibeeking.found.common.entity.TimeTaskJobParam;
import com.ibeeking.found.job.model.JobInfoModel;

/**
 * IJobCreateService
 *
 * @Author ibeeking
 * @Date 2021-02-03 18:11
 */
public interface IJobCreateService {

    /***
     * 新增
     */
    Boolean createJobInfo(Integer tenantId, JobInfoModel model);
    /***
     * 删除
     */
    Boolean delJobInfo(Integer tenantId, JobInfoModel model);

    /***
     * 新增
     */
    Boolean createJobInfoForTenantDataSync(TimeTaskJobParam param);
    /***
     * 新增
     */
    Boolean delJobInfoForTenantDataSync(TimeTaskJobParam param);
}
